import request from '@/utils/request'

// 查询文件标签列表
export function getwecomtoken() {
  return request({
    url: '/system/wecom/gettoken',
    method: 'get',
  })
}

export function getqyname() {
  return request({
    url: '/system/wecom/getqyname',
    method: 'get'
  })
}


export function getalldept() {
  return request({
    url: '/system/wecom/getalldept',
    method: 'get',
  })
}

export function getuserbydept(query) {
  return request({
    url: '/system/wecom/getuserbydept',
    method: 'get',
    params: query
  })
}

export function sendmessage(query) {
  return request({
    url: '/system/wecom/sendmessage',
    method: 'post',
    params: query
  })
}

export function sendcheck(query) {
  return request({
    url: '/system/wecom/sendcheck',
    method: 'post',
    params: query
  })
}

export function getcheckedlist(query) {
  return request({
    url: '/system/wecom/getcheckedlist',
    method: 'get',
  })
}


export function downfile(mid) {
  return request({
    url: '/system/wecom/downloadfile/' + mid,
    method: 'get'
  })
}

export function getcheckstatus(mid) {
  return request({
    url: '/system/wecom/getcheckstatus/' + mid,
    method: 'get'
  })
}

export function getbkcheckstatus(mid) {
  return request({
    url: '/system/wecom/getbkcheckstatus/' + mid,
    method: 'get'
  })
}

export function getkpcheckstatus(mid) {
  return request({
    url: '/system/wecom/getkpcheckstatus/' + mid,
    method: 'get'
  })
}

export function getexcheckstatus(mid) { 
  return request({
    url: '/system/wecom/getexcheckstatus/' + mid,
    method: 'get'
  })
}

export function getyzcheckstatus(mid) { 
  return request({
    url: '/system/wecom/getyzcheckstatus/' + mid,
    method: 'get'
  })
}

export function getcheckfile(mid) {
  return request({
    url: '/system/wecom/getcheckfile/' + mid,
    method: 'get'
  })
}

export function getfkcheckfile(mid) {
  return request({
    url: '/system/wecom/getfkcheckfile/' + mid,
    method: 'get'
  })
}
export function getwccheckfile(mid) {
  return request({
    url: '/system/wecom/getwccheckfile/' + mid,
    method: 'get'
  })
}
export function getqjcheckfile(mid) {
  return request({
    url: '/system/wecom/getqjcheckfile/' + mid,
    method: 'get'
  })
}
export function getcccheckfile(mid) {
  return request({
    url: '/system/wecom/getcccheckfile/' + mid,
    method: 'get'
  })
}


export function getfkcheckstatus(mid) {
  return request({
    url: '/system/wecom/getfkcheckstatus/' + mid,
    method: 'get'
  })
}
export function getwccheckstatus(mid) {
  return request({
    url: '/system/wecom/getwccheckstatus/' + mid,
    method: 'get'
  })
}

export function getqjcheckstatus(mid) {
  return request({
    url: '/system/wecom/getqjcheckstatus/' + mid,
    method: 'get'
  })
}

export function getcccheckstatus(mid) {
  return request({
    url: '/system/wecom/getcccheckstatus/' + mid,
    method: 'get'
  })
}



export function getcheckflow(mid) {
  return request({
    url: '/system/wecom/getcheckflow/' + mid,
    method: 'get'
  })
}

export function getqjcheckflow(mid) {
  return request({
    url: '/system/wecom/getqjcheckflow/' + mid,
    method: 'get'
  })
}

export function submitprocess() {
  return request({
    url: '/system/wecom/submitprocess',
    method: 'get'
  })
}

export function subprocess(data) {
  return request({
    url: '/system/wecom/subprocess',
    method: 'post',
    data: data
  })
}

export function subwcprocess(data) {
  return request({
    url: '/system/wecom/subwcprocess',
    method: 'post',
    data: data
  })
}

export function subqjprocess(data) {
  return request({
    url: '/system/wecom/subqjprocess',
    method: 'post',
    data: data
  })
}

export function subccprocess(data) {
  return request({
    url: '/system/wecom/subccprocess',
    method: 'post',
    data: data
  })
}

export function subfkprocess(data) {
  return request({
    url: '/system/wecom/subfkprocess',
    method: 'post',
    data: data
  })
}
export function subbkprocess(data) {
  return request({
    url: '/system/wecom/subbkprocess',
    method: 'post',
    data: data
  })
}

export function subexprocess(data) {
  return request({
    url: '/system/wecom/subexprocess',
    method: 'post',
    data: data
  })
}

export function subkpprocess(data) {
  return request({
    url: '/system/wecom/subkpprocess',
    method: 'post',
    data: data
  })
}

export function subyzprocess(data) {
  return request({
    url: '/system/wecom/subyzprocess',
    method: 'post',
    data: data
  })
}

export function uploadimg(data) {
  console.log(data);
  return request({
    url: '/system/wecom/uploadimg',
    method: 'post',
    data: data
  })
}





